package com.dd.ent.car.common.http;

import android.graphics.Bitmap;
import android.view.View;

import com.nostra13.universalimageloader.core.assist.FailReason;

/**
 * Created by dengqu on 2016/8/12.
 */
public interface ImageLoadResponse<T> {
    void onLoadingStarted(String imageUri, View view);

    void onLoadingFailed(String imageUri, View view, FailReason failReason);

    void onLoadingComplete(String imageUri, View view, Bitmap loadedImage, T t);

    void onLoadingCancelled(String imageUri, View view);

    void onProgressUpdate(String imageUri, View view, int current, int total);


}
